This function returns the given Complex number c1 to the power of the Integer number c2.
This also works for zero exponent.
function integerPower import Complex; input Complex c1 "Complex number"; input Integer c2 "Integer exponent"; output Complex c3 "= c1^c2"; end integerPower;